.button{
    display:inline-block;
    line-height:16px;
    cursor:pointer;
    padding:3px 10px 3px 10px;
    border:1px solid #ccc;
    border-top-color:#ddd;
    color:#555;
    font-size:8pt;
    background-color: #aaa;
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#DDDDDD));
    text-shadow:#bbb 0px 0px 3px;
    border-radius:5px;
    -webkit-box-shadow: 5px 1px 5px #eee;
    -webkit-transition-property: background, color, -webkit-box-shadow;
    -webkit-transition-duration: 400ms;
    -webkit-transition-timing-function: ease-in-out;
    overflow:hidden;
    text-overflow:ellipsis;
}
.button:hover,
.button_input button:hover{
    color:#999;
    background: #fff;
    -webkit-box-shadow: 5px 0px 15px #ccc;
}
.button:active,
.button_input button:active{
    color:#555;
    background: #aaa;
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#DDDDDD), to(#EEEEEE));
}

.button_input{
    white-space:nowrap;
}

.button_input button{
    line-height:16px;
    cursor:pointer;
    padding:3px 5px 3px 10px;
    border:1px solid #ccc;
    border-top-color:#ddd;
    color:#555;
    font-size:8pt;
    background-color: #aaa;
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#DDDDDD));
    text-shadow:#bbb 0px 0px 3px;
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    -webkit-box-shadow: 5px 1px 5px #eee;
    -webkit-transition-property: background, color, -webkit-box-shadow;
    -webkit-transition-duration: 400ms;
    -webkit-transition-timing-function: ease-in-out;
    overflow:hidden;
    text-overflow:ellipsis;
}
.button_input input{

    width:35px;
    line-height:16px;
    font-size:8pt;
    padding:3px 3px 3px 3px;
    border:1px solid #ccc;
    border-top-color:#ddd;
    border-left:none;
    background:-webkit-gradient(linear, 0% 0%, 0% 80%, from(#EEEEEE), to(#FEFEFE));
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
    -webkit-transition: width 200ms ease-in-out;
}
.button_input input:focus{
    width:280px;
}
.spacer{
    margin-left:5px;
}